import request from '@/utils/request'

function lock(data) {
  return request({
    url: `/admin/core/userInfo/lock/${data.id}/${data.status}`,
    method: 'get'
  })
}

function logInfo(data) {
  return request({
    url: `/admin/core/userLoginRecord/getListTop/${data}`,
    method: 'get'
  })
}

export default { lock, logInfo }